home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / tame261.zip / TAMETUNE.BAT < prev    next >
DOS Batch File  |  1991-03-20  |  1KB  |  37 lines

  1. Echo off
  2. if x%1 == x goto help
  3. Echo *
  4. Echo *  This procedure will run %1 %2 %3 %4 %5 %6 %7 %8 %9
  5. Echo *  and help determine the optimum /FREQUENCY parameter
  6. Echo *
  7. Echo *  It should be run in the foreground, and should get all the 
  8. Echo *  CPU if possible (disable background tasks).  
  9. Echo *
  10. Echo *  After the program starts up, leave it waiting for keystrokes 
  11. Echo *  for about ten seconds, then exit as quickly as possible.
  12. Echo *
  13. pause
  14. tame-res
  15. tame /on /clear /timepoll /nki /timer /nfg /max:-1,-1
  16. command /c %1 %2 %3 %4 %5 %6 %7 %8 %9
  17. tame /s:1
  18. tame /u
  19. Echo *
  20. Echo * The /FREQUENCY parameter should be set well below (perhaps half) 
  21. Echo * the POLLS PER TICK value that is listed above.
  22. Echo *
  23. goto exit
  24.  
  25.  
  26. :help
  27. Echo *  This procedure will run an application program 
  28. Echo *  and help determine the optimum /FREQUENCY parameter
  29. Echo *
  30. Echo *  It should be run in the foreground, and should get all the 
  31. Echo *  CPU if possible (disable background tasks).  
  32. Echo *  
  33. Echo *  To run it, type - %0 command_name command_args ... 
  34.  
  35.  
  36. :exit
  37.